package com.wwmz.low.demeter.demeter;

import com.wwmz.low.demeter.simple.Course;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by wumz on 2020/9/14 12:58
 */
public class Employee {

    public void checkNumberOfCourses(){
        List<Course> courseList = new ArrayList<Course>();
        for (int i= 0; i < 20 ;i ++){
            courseList.add(new Course());
        }
        System.out.println("目前已发布的课程数量是："+courseList.size());
    }
}
